package interface2;

/**
 * All rights Reserved, Designed By www.tusdao.com
 *
 * @version V1.0
 * @Title: Main
 * @Package myTest
 * @Description: TODO(一句话描述类是干嘛的)
 * @author: tusxxw
 * @date: 2021/4/20
 * @Copyright: 2020 www.tbs.com Inc. All rights reserved.
 * <p>
 * 注意：本内容仅限于TBS项目组内部传阅，禁止外泄以及用于其他的商业目的
 */
public class Main {

    public static void main(String[] args) {
        TestInterface<Integer> test1 = new Impl1();
        TestInterface<String> test2 = new Impl2();
        test1.say(123);
        System.out.println(test1.dealWithData(123));
        test2.say("你好");
        System.out.println(test2.dealWithData("world "));
    }
}
